/**   
* @Description: 返回码常量定义 
*/ 
package org.kskj.ipw.constant;

/** 
* @author sztan 
* @date 2016年8月1日 上午10:52:00 
* @version 1.0 
*/
public enum ResponseCode {
	EXCEPTION(-2, "异常"), ERROR(-1, "失败"), SUCCESS(0, "成功");
	
	private String name;
	private int value = 0;

    private ResponseCode(final int _value, final String _name) {
        this.value = _value;
        this.name = _name;
    }

	public int getValue() {
		return value;
	}

	public String getName() {
		return name;
	}
}
